package com.example.demoserver;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Easettke
 * @version 1.0
 * @date 2019/8/4 23:13
 * EnableDiscoveryClient:启用服务注册与发现
 */
@SpringBootApplication
@EnableDiscoveryClient
public class DemoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoServerApplication.class, args);
    }

}
